home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Science
/
RLaB
/
help
/
CONTINUE
< prev
next >
Wrap
Text File
|
1994-04-25
|
462b
|
24 lines
CONTINUE:
The continue statement in RLaB is similar to the C language
continue statement. When a continue statement is encountered,
it causes the next iteration of the enclosing for or while
loop to begin.
For example, the following set of statements causes the
variable `i' to be printed when it's value is 2.
> for (i in 1:3)
{
if (i == 2)
{
i ?
else
continue
}
}
i =
2
See Also: BREAK, FOR, WHILE